package com.itheima.tlias.mapper;

import com.itheima.tlias.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ghy
 * @version 1.0.1
 * @date 2024-01-28 09:45:38
 */
@Mapper
public interface DeptMapper {

    @Select("select id, name, create_time, update_time from dept")
    List<Dept> findAll();

}
